package com.epfly.iface.promo.activity.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ActivityRuleVo {


    /**
     * 餐别:0.不限;1.早餐;2.午餐;3.晚餐;4.夜宵;5.副正餐;
     */
    private Byte dinnerType;
    private String dinnerTypeEx;

    /**
     * <pre>
     *     {
     *         "name":"满减优惠",
     *         "values":[
     *             {
     *                 "upperBound":"50",
     *                 "discountAmount":"5"
     *             },
     *             {
     *                 "upperBound":"100",
     *                 "discountAmount":"20"
     *             },
     *             {
     *                 "upperBound":"200",
     *                 "discountAmount":"50"
     *             }
     *         ]
     *     }
     * </pre>
     * <pre>
     *     {
     *         "name":"折扣优惠",
     *         "values":[
     *             {
     *                 "upperBound":"50",
     *                 "discountPercent":"0.9"
     *             },
     *             {
     *                 "upperBound":"100",
     *                 "discountPercent":"0.8"
     *             },
     *             {
     *                 "upperBound":"200",
     *                 "discountPercent":"0.7"
     *             }
     *         ]
     *     }
     * </pre>
     * <pre>
     *     {
     *         "name":"菜品分类折扣优惠",
     *         "fixedDiscountPercent":"0.6"
     *     }
     * </pre>
     * <pre>
     *     {
     *         "name":"菜品折扣优惠",
     *         "fixedDiscountPercent":"0.6"
     *     }
     * </pre>
     */
    /**
     * 规则内容
     */
    private String ruleContent;

}
